<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>新增/编辑车队</h2>
    </div>
    <form action="" method="post" class="form-horizontal">
        <input type="hidden" name="id" id="id" value="{$data['fleet_id']}">
        <div class="form-item">
            <label class="item-label">车队名</label>
            <div class="controls">
                <input type="text" class="text input-large" name="fleet_name" value="{$data['fleet_name']}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">车队联系人</label>
            <div class="controls">
                <input type="text" class="text input-large" name="fleet_linkman" value="{$data['fleet_linkman']}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">车队联系电话</label>
            <div class="controls">
                <input type="text" class="text input-large" name="fleet_phone" value="{$data['fleet_phone']}">
            </div>
        </div>
        <div class="form-item">
            <input type="hidden" name="uid" id="uid" value="{$data['uid']}">

            <label class="item-label">登录账号<span class="check-tips">（账号初始密码为123456）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="username" value="{$data['fleet_login_name']}" placeholder="该账号用户登录后台使用">
            </div>
        </div>

        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Fleet / index')}');
    </script>
</block>
